<link rel="stylesheet" href="../../../static/layui/css/layui.css" media="all">
<link rel="stylesheet" href="../../../static/expand/dtree/font/dtreefont.css">
<link rel="stylesheet" href="../../../static/expand/dtree/dtree.css">

<div class="layui-tab">
    <ul class="layui-tab-title">
        <li class="layui-this">员工信息</li>
        <li>职位管理</li>
    </ul>
    <div class="layui-tab-content">
        <div class="layui-tab-item layui-show">
            <div class="" id="edit_employee_form" >
                <div class="layui-form" lay-filter="edit_employee_form" id="edit_employee" style="padding: 20px 0 0 0;">

                    <div class="layui-form-item">

                        <div class="layui-inline">
                            <label class="layui-form-label">姓名</label>
                            <div class="layui-input-inline">
                                <input type="text" id = "employeeName" maxlength="10" lay-verify="required" placeholder="" autocomplete="off" class="layui-input">
                            </div>
                        </div>

                        <div class="layui-inline">
                            <label class="layui-form-label">工号</label>
                            <div class="layui-input-inline">
                                <input type="text" id = "employeeNumber"  maxlength="10" placeholder="" autocomplete="off" class="layui-input">
                            </div>
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <label class="layui-form-label">手机号</label>
                            <div class="layui-input-inline">
                                <input type="tel" id="phone"   lay-verify="required" maxlength="11" autocomplete="off" class="layui-input">
                            </div>
                        </div>

                        <div class="layui-inline">
                            <label class="layui-form-label">邮箱</label>
                            <div class="layui-input-inline">
                                <input type="text" id="mailbox"  autocomplete="off" maxlength="30"  class="layui-input">
                            </div>
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <div class="layui-inline">
                            <label class="layui-form-label">身份证</label>
                            <div class="layui-input-inline">
                                <input type="tel" id="identityCard"   maxlength="18" autocomplete="off" class="layui-input">
                            </div>
                        </div>

                        <div class="layui-inline">
                            <label class="layui-form-label">地址</label>
                            <div class="layui-input-inline">
                                <input type="text" id="employeeAddress"  autocomplete="off" maxlength="40" class="layui-input">
                            </div>
                        </div>
                    </div>

                    <div class="layui-form-item">

                        <div class="layui-inline">
                            <label class="layui-form-label">出生日期</label>
                            <div class="layui-input-inline">
                                <input type="text" class="layui-input" id="birthday" autocomplete="off" >
                            </div>
                        </div>


                        <div class="layui-inline">
                            <label class="layui-form-label">上传头像</label>
                            <div class="layui-input-inline">
                                <input type="text" name="mailbox"   autocomplete="off" class="layui-input">
                            </div>
                        </div>
                    </div>

                    <div class="layui-form-item">
                        <div class="layui-form-item">
                            <label class="layui-form-label">性别</label>
                            <div class="layui-input-inline">
                                <input id="rdoPartment" type="radio" name="sex" checked value="0" title="男"  lay-filter="sex" >
                                <input id="rdoRoom" type="radio"  name="sex" value="1" title="女"  lay-filter="sex" >
                            </div>
                        </div>

                        <div class="layui-form-item">
                            <label class="layui-form-label">状态</label>
                            <div class="layui-input-block">
                                <input type="checkbox" id = "status" checked="" name="status" lay-skin="switch" lay-filter="employee_status_form_Switch" lay-text="启用|禁用">
                            </div>
                        </div>


                    </div>


                </div>
            </div >
        </div>
        <div class="layui-tab-item" >


            <div id="job_form_parent" class="layui-form" lay-filter="edit_employee_job_form">
                <div  id="job1" >
                    <div  style="text-align:right">
                        <button id="addNewJobButton" type="button" class="layui-btn layui-btn-primary layui-btn-sm "  lay-event="add_empJob"  >
                            <i class="layui-icon">&#xe654;</i>
                        </button>
                    </div>
                    <hr>职位1:
                    <div  style="text-align:right">
                        <button id="deleteNewJobButton1" type="button" class="layui-btn layui-btn-primary layui-btn-sm "  lay-event="delete_empJob1"  >
                            <i class="layui-icon">&#xe640;</i>
                        </button>
                        <button id="resetJob1" class="layui-btn layui-btn-primary layui-btn-sm">
                            <i class="layui-icon">&#xe669;</i>
                        </button>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">医院</label>
                        <div class="layui-input-inline">
                            <select   id = "hospital_select"  lay-filter="hospital_select">
                                <option value="0">请选择</option>
                            </select>
                        </div>

                        <label class="layui-form-label">部门</label>
                        <div class="layui-input-inline">
                            <div>
                                <ul id="DeptDtree" class="dtree" data-id="0"></ul>
                            </div>
                        </div>
                    </div>
                    <div class="layui-form-item">
                        <label class="layui-form-label">职业</label>
                        <div class="layui-input-inline">
                            <select   id = "pJob_select" lay-filter="pJob_select">
                                <option value="0">请选择</option>
                            </select>
                        </div>

                        <label class="layui-form-label">职称</label>
                        <div class="layui-input-inline">
                            <select   id = "job_select" lay-filter="job_select">
                                <option value="0">请选择</option>
                            </select>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>







